package com.csu.letaobackend.service;


import com.csu.letaobackend.bean.User;
import com.csu.letaobackend.commom.CommonResponse;

public interface UserService {

      CommonResponse<User> getUser(String username);

      CommonResponse<User> getUser(String username , String password);

      CommonResponse<User> getUserByPhone(String memPhone);

      CommonResponse<User> updateUserPassword(String username , String newPassword);

      CommonResponse<User> updateUser(User user);

      CommonResponse<User> registerUser(User user);

      CommonResponse<User> deleteUser(String username);



}
